package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_coupon")
public class Coupon extends BaseEntity {

    private Integer id;
    /**
     * 名称
     **/
    private String name;
    /**
     * 满足金额
     **/
    private BigDecimal minMoney;
    /**
     * 减少金额
     **/
    private BigDecimal subMoney;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 商家编号
     **/
    private Integer bussId;
    /**
     * 领取结束时间
     **/
    private Date receiveEndTime;
    /**
     * 有效期
     **/
    private Integer validityDays;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * kid
     */
    private String couponKid;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 名称
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 满足金额
     **/
    public BigDecimal getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(BigDecimal minMoney) {
        this.minMoney = minMoney;
    }

    /**
     * 减少金额
     **/
    public BigDecimal getSubMoney() {
        return subMoney;
    }

    public void setSubMoney(BigDecimal subMoney) {
        this.subMoney = subMoney;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 商家编号
     **/
    public Integer getBussId() {
        return bussId;
    }

    public void setBussId(Integer bussId) {
        this.bussId = bussId;
    }

    /**
     * 领取结束时间
     **/
    public Date getReceiveEndTime() {
        return receiveEndTime;
    }

    public void setReceiveEndTime(Date receiveEndTime) {
        this.receiveEndTime = receiveEndTime;
    }

    /**
     * 有效期
     **/
    public Integer getValidityDays() {
        return validityDays;
    }

    public void setValidityDays(Integer validityDays) {
        this.validityDays = validityDays;
    }

    /**
     * 开始时间
     */
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * kid
     *
     * @return
     */
    public String getCouponKid() {
        return couponKid;
    }

    public void setCouponKid(String couponKid) {
        this.couponKid = couponKid;
    }
}